package app.aptech.translate;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import app.aptech.translate.R;

@SuppressLint("Registered")
public class TranslateActivity extends Activity {
	TextView picNameText;
	 EditText langCodeField;
	 EditText apiKeyFiled;
	
	private String apiKey;
	private String langCode;
	private String fileName;
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
		setContentView(R.layout.page_one);

		Button butOK = (Button)findViewById(R.id.btnTranslate);

		butOK = (Button) findViewById(R.id.btnBack);
		butOK.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            	Intent mainIntent = new Intent(TranslateActivity.this, MainActivity.class); 
            	TranslateActivity.this.startActivity(mainIntent); 
            	TranslateActivity.this.finish(); 
            }
        });
	}	
}
